package com.ruoyi.system.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.AssessmentPlan;
import com.ruoyi.system.domain.PerformanceAssessmentType;
import com.ruoyi.system.service.IPerformanceAssessmentTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class PerformanceAssessmentTypeController extends BaseController {
    @Autowired
    private IPerformanceAssessmentTypeService performanceAssessmentTypeService;

    @GetMapping("assessmentjoinType")
    public TableDataInfo get(){
        List<PerformanceAssessmentType> list = performanceAssessmentTypeService.get();
        return getDataTable(list);
    }

}
